package com.dabai.videobrowser.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dabai.videobrowser.R;
import com.dabai.videobrowser.bean.BatchTextModel;

import java.util.List;

/**
 * Description : Other
 *
 * @author BAI
 */
public class BatchTextAdapter extends BaseQuickAdapter<BatchTextModel, BaseViewHolder> {


    public BatchTextAdapter(@Nullable List<BatchTextModel> data) {
        super(R.layout.item_batch, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, BatchTextModel batchTextModel) {
        baseViewHolder.setText(R.id.textView1, batchTextModel.getText1());
        baseViewHolder.setText(R.id.textView2, batchTextModel.getText2());
    }
}
